<#ftl strip_whitespace=true>

<#--
jsurl 格式化js的url加入版本号，用list形式可一次可以传入多个
-->
<#macro jsurl  url=[] resConcat='false'>
    <#if resConcat == 'true'>
    <script type="text/javascript"
            src="${jscssUrl("/??")}<#list url as js>${js}.js?t=${resetTime}<#if js_has_next>,</#if></#list>.js?t=${resetTime}"></script>
    <#else><#list url as js>
    <script type="text/javascript" src="${jscssUrl(js)}.js?t=${resetTime}"></script></#list>
    </#if>
</#macro>

<#--
cssurl 格式化css的url加入版本号，用list形式可一次可以传入多个
-->
<#macro cssurl url=[] resConcat='false'>
    <#if resConcat =='true'>
    <link rel="stylesheet" type="text/css" href="${jscssUrl("/??")}
        <#list url as css>${css}.css?t=${resetTime}
            <#if css_has_next>,</#if>
        </#list>.css?t=${resetTime}"/>
    <#else>
        <#list url as css>
        <link rel="stylesheet" type="text/css" href="${jscssUrl(css)}.css?t=${resetTime}"/></#list>
    </#if>
</#macro>

<#macro imgurl url=[] resConcat='false'><#list url as img>${fmImgUrl(img)}?t=${resetTime}</#list></#macro>